const app = getApp();

Page({
    returnIndex(){
        wx.switchTab({
            url:'/pages/main/index'
        })
    }
});